package com.bootdo.hotel.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 酒店房间
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-18 11:23:10
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class HotelRoom extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//名字
		@HapiFeild("名字")
	private String name;
	
	//房型ID
		@HapiFeild("房型ID")
	private Long typeId;
	
	//房型名
		@HapiFeild("房型名")
	private String typeName;

	//楼层ID
		@HapiFeild("楼层ID")
	private Long floorId;
	
	//楼层名
		@HapiFeild("楼层名")
	private String floorName;
	
	//状态
		@HapiFeild("状态")
	private Integer status;
	
	//状态描述
		@HapiFeild("状态描述")

	//1是净房 2是脏房 3是在住房 4是维修房 5是已预订
	private String statusDep;
	
	//图片
		@HapiFeild("图片")
	private String pic;
	
	//排序
		@HapiFeild("排序")
	private Integer px;
	
	//用户ID
		@HapiFeild("用户ID")
	private Long userId;
	
	//用户名
		@HapiFeild("用户名")
	private String userName;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;


	private Long hotelId;
	private String hotelName;

	@NotColumn
	private String startTime;

    public HotelRoom(){
    	this.status = 1;
    	this.statusDep = "净房";
    	this.pic = "";
    	this.startTime = "";
    	this.createTime = new Date();
    }

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public Long getHotelId() {
		return hotelId;
	}

	public void setHotelId(Long hotelId) {
		this.hotelId = hotelId;
	}

	public String getHotelName() {
		return hotelName;
	}

	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：名字
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名字
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：房型ID
	 */
	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}
	/**
	 * 获取：房型ID
	 */
	public Long getTypeId() {
		return typeId;
	}
	/**
	 * 设置：房型名
	 */
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	/**
	 * 获取：房型名
	 */
	public String getTypeName() {
		return typeName;
	}
	/**
	 * 设置：楼层ID
	 */
	public void setFloorId(Long floorId) {
		this.floorId = floorId;
	}
	/**
	 * 获取：楼层ID
	 */
	public Long getFloorId() {
		return floorId;
	}
	/**
	 * 设置：楼层名
	 */
	public void setFloorName(String floorName) {
		this.floorName = floorName;
	}
	/**
	 * 获取：楼层名
	 */
	public String getFloorName() {
		return floorName;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：状态描述
	 */
	public void setStatusDep(String statusDep) {
		this.statusDep = statusDep;
	}
	/**
	 * 获取：状态描述
	 */
	public String getStatusDep() {
		return statusDep;
	}
	/**
	 * 设置：图片
	 */
	public void setPic(String pic) {
		this.pic = pic;
	}
	/**
	 * 获取：图片
	 */
	public String getPic() {
		return pic;
	}
	/**
	 * 设置：排序
	 */
	public void setPx(Integer px) {
		this.px = px;
	}
	/**
	 * 获取：排序
	 */
	public Integer getPx() {
		return px;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：用户名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
